<template>
  <div>
    <div class='my-head'>
      <span @click="MyPage">＜</span>
      <span>我的发布</span>
  </div>
  <div class='sort'>
      <div><router-link to='/ReleaseStore'> <i>发布的店铺</i></router-link></div>
      <div> <router-link to='/demand'><i>发布的需求</i></router-link> </div>
  </div>
     <router-view />
  </div>


</template>

<script>
export default {
  name:'My-message',
  methods:{
    MyPage(){
       this.$router.push('/usmine')
    }
  }

}
</script>

<style scoped>
.my-head {
  text-align: center;
  width:375px;
height: 44px;

}
.my-head span:nth-child(1){
  float: left;
  line-height: 44px;
  margin-left: 11px;
   font-size: 30px;
   font-weight:bold;
}
.my-head span:nth-child(2){
   font-size: 20px;
  line-height: 44px;
}
.sort div{
 float: left;
 width:50%;
 height:48px;
 line-height: 48px;
 text-align: center;
  color:#0000
}
.sort div i {
  font-size:18px;
   color:black; 
}

</style>